package com.tvunetworks.center.user.service;

import com.tvunetworks.center.user.model.param.InstanceIdWithPeerId;

import java.util.List;
/**
 * @program: tvucc-aggregator
 * @author lebronchen
 * @create: 2019-06-17 15:58
 **/
public interface InstancePeerIdService {
    /**
     *
     * @param userInstanceId userInstanceId
     * @param peerIds peerIds
     */
    void addInstancePeerId(String userInstanceId, List<String> peerIds);

    /**
     *
     * @param userInstanceId userInstanceId
     * @return  List
     */
    List<String> listPeerIdByUserInstanceId(String userInstanceId);

    /**
     *
     * @param param param
     * @return String
     */
    String getWebRUrl(InstanceIdWithPeerId param);
}
